package es.udc.emarketapp.emarket.model.categoryFacade.vo;

import es.udc.emarketapp.emarket.model.category.vo.CategoryVO;
import java.io.Serializable;
import java.util.List;


public class CategoryChunkVO implements Serializable {
	
	private static final long serialVersionUID = 1L;
    private List<CategoryVO> categoryVOs;
    private boolean existMoreCategories;

    public CategoryChunkVO(List<CategoryVO> categoryVOs,
    		boolean existMoreCategories) {

        this.categoryVOs = categoryVOs;
        this.existMoreCategories = existMoreCategories;

    }

    public List<CategoryVO> getCategoryVOs() {

    	return categoryVOs;
    }

    public boolean getExistMoreCategorias() {

    	return existMoreCategories;
    }

    public String toString() {

    	return new String("categoriaVOs = " + categoryVOs +
    			" | existMoreCategorias = " + existMoreCategories);
    }

}
